Skip to content

Comments

Update the Dockerfile so that it will use a newer version, 4.11.1.#486

Open
nicomiguelino wants to merge 2 commits intobalena-os:masterfrom
nicomiguelino:update-dockerfile
Open

Update the Dockerfile so that it will use a newer version, 4.11.1.#486
nicomiguelino wants to merge 2 commits intobalena-os:masterfrom
nicomiguelino:update-dockerfile

Conversation

@nicomiguelino
Copy link

@nicomiguelino nicomiguelino commented Mar 15, 2023

Overview

I tried deploying wifi-connect on my own Balena fleet (Raspberry Pi 3), but got the following errors when I'm using the files (Dockerfile, docker-compose.yml, and scripts/start.sh) out of the box.

15.03.23 13:49:50 (-0700)  wifi-connect  Starting WiFi Connect
15.03.23 13:49:50 (-0700)  wifi-connect  [network_manager::device:WARN] Undefined device type: 30
15.03.23 13:49:50 (-0700)  wifi-connect  Starting WiFi Connect
15.03.23 13:49:50 (-0700)  wifi-connect  [network_manager::device:WARN] Undefined device type: 30
15.03.23 13:49:50 (-0700)  wifi-connect  WiFi device: wlan0
15.03.23 13:49:50 (-0700)  wifi-connect  [network_manager::dbus_api:ERROR] Get org.freedesktop.NetworkManager.AccessPoint::RsnFlags property failed on /org/freedesktop/NetworkManager/AccessPoint/6: wrong property type
15.03.23 13:49:50 (-0700)  wifi-connect  Error: Getting access points failed
15.03.23 13:49:50 (-0700)  wifi-connect    caused by: D-Bus failure: Get org.freedesktop.NetworkManager.AccessPoint::RsnFlags property failed on /org/freedesktop/NetworkManager/AccessPoint/6: wrong property type

The version currently pinned in Dockerfile.template is 4.4.0.

After bumping the version to 4.11.1, it seems that wifi-connect is working fine now (at least on my Pi 3 Model B+). Here's a sample console output. Some info was removed/redacted for security reasons.

15.03.23 15:32:25 (-0700)  wifi-connect  Starting WiFi Connect
15.03.23 15:32:25 (-0700)  wifi-connect  Starting WiFi Connect
15.03.23 15:32:25 (-0700)  wifi-connect  WiFi device: wlan0
15.03.23 15:32:26 (-0700)  wifi-connect  Access points: [redacted]
15.03.23 15:32:26 (-0700)  wifi-connect  Starting access point...
15.03.23 15:32:27 (-0700)  wifi-connect  Access point 'WiFi Connect' created
15.03.23 15:32:27 (-0700)  wifi-connect  Starting HTTP server on 192.168.42.1:80
15.03.23 15:51:40 (-0700)  wifi-connect  request error = Header
15.03.23 15:51:43 (-0700)  wifi-connect  User connected to the captive portal
15.03.23 15:52:04 (-0700)  wifi-connect  request error = Header
15.03.23 15:52:05 (-0700)  wifi-connect  User connected to the captive portal
15.03.23 15:52:33 (-0700)  wifi-connect  Stopping access point 'WiFi Connect'...
15.03.23 15:52:35 (-0700)  wifi-connect  Access point 'WiFi Connect' stopped
15.03.23 15:52:38 (-0700)  wifi-connect  Access points: [redacted]
15.03.23 15:52:38 (-0700)  wifi-connect  Connecting to access point '[redacted]'...
15.03.23 15:52:46 (-0700)  wifi-connect  Internet connectivity established

@meawoppl
Copy link

Note also this will impact the success of the above diff: #498

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants